<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class DataMapper</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class DataMapper</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li>IteratorAggregate (internal interface)</li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Data Mapper Class</p>
<p class="description"><p>Transforms database tables into objects.</p></p>
	<ul class="tags">
				<li><span class="field">property:</span> CI_DB_driver $db: The CodeIgniter Database Library</li>
				<li><span class="field">property:</span> CI_Loader $load: The CodeIgnter Loader Library</li>
				<li><span class="field">property:</span> CI_Language $lang: The CodeIgniter Language Library</li>
				<li><span class="field">property:</span> CI_Config $config: The CodeIgniter Config Library</li>
				<li><span class="field">property:</span> CI_Form_validation $form_validation: <p>The CodeIgniter Form Validation Library</p><p>Define some of the magic methods:</p><p>Get By:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> get_by_id(): get_by_id(int $value) Looks up an item by its ID.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> get_by_FIELD(): get_by_FIELD(mixed $value) Looks up an item by a specific FIELD. Ex: get_by_name($user_name);</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> get_by_related(): get_by_related(mixed $related, string $field = NULL, string $value = NULL) Get results based on a related item.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> get_by_related_RELATEDFIELD(): <p>get_by_related_RELATEDFIELD(string $field = NULL, string $value = NULL) Get results based on a RELATEDFIELD. Ex: get_by_related_user('id', $userid);</p><p>Save and Delete</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> save_RELATEDFIELD(): save_RELATEDFIELD(mixed $object) Saves relationship(s) using the specified RELATEDFIELD. Ex: save_user($user);</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> delete_RELATEDFIELD(): <p>delete_RELATEDFIELD(mixed $object) Deletes relationship(s) using the specified RELATEDFIELD. Ex: delete_user($user);</p><p>Related:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_related(): where_related(mixed $related, string $field = NULL, string $value = NULL) Limits results based on a related field.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_between_related(): where_related(mixed $related, string $field = NULL, string $value1 = NULL, string $value2 = NULL) Limits results based on a related field, via BETWEEN.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_related(): or_where_related(mixed $related, string $field = NULL, string $value = NULL) Limits results based on a related field, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_in_related(): where_in_related(mixed $related, string $field, array $values) Limits results by comparing a related field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_in_related(): or_where_in_related(mixed $related, string $field, array $values) Limits results by comparing a related field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_not_in_related(): where_not_in_related(mixed $related, string $field, array $values) Limits results by comparing a related field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_not_in_related(): or_where_not_in_related(mixed $related, string $field, array $values) Limits results by comparing a related field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> like_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_like_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_like_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_like_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> ilike_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_ilike_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_ilike_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_ilike_related(): like_related(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a related field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> group_by_related(): group_by_related(mixed $related, string $field) Groups the query by a related field.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> having_related(): having_related(mixed $related, string $field, string $value) Groups the querying using a HAVING clause.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_having_related(): having_related(mixed $related, string $field, string $value) Groups the querying using a HAVING clause, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> order_by_related(): <p>order_by_related(mixed $related, string $field, string $direction) Orders the query based on a related field.</p><p>Join Fields:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_join_field(): where_join_field(mixed $related, string $field = NULL, string $value = NULL) Limits results based on a join field.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_between_join_field(): where_related(mixed $related, string $field = NULL, string $value1 = NULL, string $value2 = NULL) Limits results based on a join field, via BETWEEN.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_join_field(): or_where_join_field(mixed $related, string $field = NULL, string $value = NULL) Limits results based on a join field, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_in_join_field(): where_in_join_field(mixed $related, string $field, array $values) Limits results by comparing a join field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_in_join_field(): or_where_in_join_field(mixed $related, string $field, array $values) Limits results by comparing a join field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_not_in_join_field(): where_not_in_join_field(mixed $related, string $field, array $values) Limits results by comparing a join field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_not_in_join_field(): or_where_not_in_join_field(mixed $related, string $field, array $values) Limits results by comparing a join field to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> like_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_like_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_like_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_like_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> ilike_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_ilike_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_ilike_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_ilike_join_field(): like_join_field(mixed $related, string $field, string $value, string $match = 'both') Limits results by matching a join field to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> group_by_join_field(): group_by_join_field(mixed $related, string $field) Groups the query by a join field.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> having_join_field(): having_join_field(mixed $related, string $field, string $value) Groups the querying using a HAVING clause.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_having_join_field(): having_join_field(mixed $related, string $field, string $value) Groups the querying using a HAVING clause, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> order_by_join_field(): <p>order_by_join_field(mixed $related, string $field, string $direction) Orders the query based on a join field.</p><p>SQL Functions:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> select_func(): select_func(string $function_name, mixed $args,..., string $alias) Selects the result of a SQL function. Alias is required.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_func(): where_func(string $function_name, mixed $args,..., string $value) Limits results based on a SQL function.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_func(): or_where_func(string $function_name, mixed $args,..., string $value) Limits results based on a SQL function, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_in_func(): where_in_func(string $function_name, mixed $args,..., array $values) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_in_func(): or_where_in_func(string $function_name, mixed $args,..., array $values) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_not_in_func(): where_not_in_func(string $function_name, string $field, array $values) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_not_in_func(): or_where_not_in_func(string $function_name, mixed $args,..., array $values) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> like_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_like_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_like_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_like_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> ilike_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_ilike_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_ilike_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_ilike_func(): like_func(string $function_name, mixed $args,..., string $value) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> group_by_func(): group_by_func(string $function_name, mixed $args,...) Groups the query by a SQL function.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> having_func(): having_func(string $function_name, mixed $args,..., string $value) Groups the querying using a HAVING clause.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_having_func(): having_func(string $function_name, mixed $args,..., string $value) Groups the querying using a HAVING clause, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> order_by_func(): <p>order_by_func(string $function_name, mixed $args,..., string $direction) Orders the query based on a SQL function.</p><p>Field -&gt; SQL functions:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_field_field_func(): where_field_func($field, string $function_name, mixed $args,...) Limits results based on a SQL function.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_between_field_field_func(): where_between_field_func($field, string $function_name, mixed $args,...) Limits results based on a SQL function, via BETWEEN.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_field_field_func(): or_where_field_func($field, string $function_name, mixed $args,...) Limits results based on a SQL function, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_in_field_field_func(): where_in_field_func($field, string $function_name, mixed $args,...) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_in_field_field_func(): or_where_in_field_func($field, string $function_name, mixed $args,...) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_not_in_field_field_func(): where_not_in_field_func($field, string $function_name, string $field) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_not_in_field_field_func(): or_where_not_in_field_func($field, string $function_name, mixed $args,...) Limits results by comparing a SQL function to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> like_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_like_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_like_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_like_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> ilike_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_ilike_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_ilike_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_ilike_field_field_func(): like_field_func($field, string $function_name, mixed $args,...) Limits results by matching a SQL function to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> group_by_field_field_func(): group_by_field_func($field, string $function_name, mixed $args,...) Groups the query by a SQL function.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> having_field_field_func(): having_field_func($field, string $function_name, mixed $args,...) Groups the querying using a HAVING clause.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_having_field_field_func(): having_field_func($field, string $function_name, mixed $args,...) Groups the querying using a HAVING clause, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> order_by_field_field_func(): <p>order_by_field_func($field, string $function_name, mixed $args,...) Orders the query based on a SQL function.</p><p>Subqueries:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> select_subquery(): select_subquery(DataMapper $subquery, string $alias) Selects the result of a function. Alias is required.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_subquery(): where_subquery(mixed $subquery_or_field, mixed $value_or_subquery) Limits results based on a subquery.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_subquery(): or_where_subquery(mixed $subquery_or_field, mixed $value_or_subquery) Limits results based on a subquery, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_in_subquery(): where_in_subquery(mixed $subquery_or_field, mixed $values_or_subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_in_subquery(): or_where_in_subquery(mixed $subquery_or_field, mixed $values_or_subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_not_in_subquery(): where_not_in_subquery(mixed $subquery_or_field, string $field, mixed $values_or_subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_not_in_subquery(): or_where_not_in_subquery(mixed $subquery_or_field, mixed $values_or_subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> like_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_like_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_like_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_like_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> ilike_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_ilike_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> not_ilike_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_not_ilike_subquery(): like_subquery(DataMapper $subquery, string $value, string $match = 'both') Limits results by matching a subquery to a value (case insensitive).</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> having_subquery(): having_subquery(string $field, DataMapper $subquery) Groups the querying using a HAVING clause.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_having_subquery(): having_subquery(string $field, DataMapper $subquery) Groups the querying using a HAVING clause, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> order_by_subquery(): <p>order_by_subquery(DataMapper $subquery, string $direction) Orders the query based on a subquery.</p><p>Related Subqueries:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_related_subquery(): where_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Limits results based on a subquery.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_related_subquery(): or_where_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Limits results based on a subquery, via OR.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_in_related_subquery(): where_in_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_in_related_subquery(): or_where_in_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> where_not_in_related_subquery(): where_not_in_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_where_not_in_related_subquery(): or_where_not_in_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Limits results by comparing a subquery to a range of values.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> having_related_subquery(): having_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Groups the querying using a HAVING clause.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> or_having_related_subquery(): <p>having_related_subquery(mixed $related_model, string $related_field, DataMapper $subquery) Groups the querying using a HAVING clause, via OR.</p><p>Array Extension:</p></li>
				<li><span class="field">method:</span> array to_array(): to_array($fields = '') NEEDS ARRAY EXTENSION.  Converts this object into an associative array.  @link DMZ_Array::to_array</li>
				<li><span class="field">method:</span> array all_to_array(): all_to_array($fields = '') NEEDS ARRAY EXTENSION.  Converts the all array into an associative array.  @link DMZ_Array::all_to_array</li>
				<li><span class="field">method:</span> array|bool from_array(): <p>from_array($data, $fields = '', $save = FALSE) NEEDS ARRAY EXTENSION.  Converts $this-&gt;all into an associative array.  @link DMZ_Array::all_to_array</p><p>CSV Extension</p></li>
				<li><span class="field">method:</span> bool csv_export(): csv_export($filename, $fields = '', $include_header = TRUE) NEEDS CSV EXTENSION.  Exports this object as a CSV file.</li>
				<li><span class="field">method:</span> array csv_import(): <p>csv_import($filename, $fields = '', $header_row = TRUE, $callback = NULL) NEEDS CSV EXTENSION.  Imports a CSV file into this object.</p><p>JSON Extension:</p></li>
				<li><span class="field">method:</span> string to_json(): to_json($fields = '', $pretty_print = FALSE) NEEDS JSON EXTENSION.  Converts this object into a JSON string.</li>
				<li><span class="field">method:</span> string all_to_json(): all_to_json($fields = '', $pretty_print = FALSE) NEEDS JSON EXTENSION.  Converts the all array into a JSON string.</li>
				<li><span class="field">method:</span> bool from_json(): from_json($json, $fields = '') NEEDS JSON EXTENSION.  Imports the values from a JSON string into this object.</li>
				<li><span class="field">method:</span> void set_json_content_type(): <p>set_json_content_type() NEEDS JSON EXTENSION.  Sets the content type header to Content-Type: application/json.</p><p>SimpleCache Extension:</p></li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> get_cached(): get_cached($limit = '', $offset = '') NEEDS SIMPLECACHE EXTENSION.  Enables cacheable queries.</li>
				<li><span class="field">method:</span> <a href="../DataMapper/DataMapper.html">DataMapper</a> clear_cache(): <p>get_cached($segment,...) NEEDS SIMPLECACHE EXTENSION.  Clears a cache for the specfied segment.</p><p>Translate Extension:</p><p>Nestedsets Extension:</p></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_libraries---datamapper.php.html">/libraries/datamapper.php</a> (line <span class="field">194</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Category.html">Category</a></td>
					<td>
											Category model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Comment.html">Comment</a></td>
					<td>
											Comment model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Course.html">Course</a></td>
					<td>
											Course model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Group.html">Group</a></td>
					<td>
											Group model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Participant.html">Participant</a></td>
					<td>
											Participant model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Period.html">Period</a></td>
					<td>
											Period model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Room.html">Room</a></td>
					<td>
											Room model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Security.html">Security</a></td>
					<td>
											Security model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Solution.html">Solution</a></td>
					<td>
											Solution model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Student.html">Student</a></td>
					<td>
											Student model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Task.html">Task</a></td>
					<td>
											Task model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Task_set.html">Task_set</a></td>
					<td>
											Task_set model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Task_set_type.html">Task_set_type</a></td>
					<td>
											Task_set_type model.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../LIST_DM_Models/Teacher.html">Teacher</a></td>
					<td>
											Teacher model.
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																												<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$common" title="details" class="var-name">$common</a>
				</div>
																<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$config" title="details" class="var-name">$config</a>
				</div>
																																																<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$global_extensions" title="details" class="var-name">$global_extensions</a>
				</div>
																																								<div class="var-title">
					static <span class="var-type">mixed</span>
					<a href="#$model_paths" title="details" class="var-name">$model_paths</a>
				</div>
																																																																								<div class="var-title">
					static <span class="var-type">array</span>
					<a href="#$_dmz_config_defaults" title="details" class="var-name">$_dmz_config_defaults</a>
				</div>
																																																																																												<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$all" title="details" class="var-name">$all</a>
				</div>
																<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$cascade_delete" title="details" class="var-name">$cascade_delete</a>
				</div>
																																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$default_order_by" title="details" class="var-name">$default_order_by</a>
				</div>
																<div class="var-title">
					<span class="var-type"><a href="../DMZ/DM_Error_Object.html">DM_Error_Object</a></span>
					<a href="#$error" title="details" class="var-name">$error</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$fields" title="details" class="var-name">$fields</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$free_result_threshold" title="details" class="var-name">$free_result_threshold</a>
				</div>
																								<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$has_many" title="details" class="var-name">$has_many</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$has_one" title="details" class="var-name">$has_one</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$model" title="details" class="var-name">$model</a>
				</div>
																								<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$parent" title="details" class="var-name">$parent</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$primary_key" title="details" class="var-name">$primary_key</a>
				</div>
																<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$production_cache" title="details" class="var-name">$production_cache</a>
				</div>
																<div class="var-title">
					<span class="var-type">object</span>
					<a href="#$stored" title="details" class="var-name">$stored</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$table" title="details" class="var-name">$table</a>
				</div>
																<div class="var-title">
					<span class="var-type">bool</span>
					<a href="#$valid" title="details" class="var-name">$valid</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$validation" title="details" class="var-name">$validation</a>
				</div>
																								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_field_tracking" title="details" class="var-name">$_field_tracking</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_force_save_as_new" title="details" class="var-name">$_force_save_as_new</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_force_validation" title="details" class="var-name">$_force_validation</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_group_count" title="details" class="var-name">$_group_count</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_include_join_fields" title="details" class="var-name">$_include_join_fields</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_instantiations" title="details" class="var-name">$_instantiations</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_query_related" title="details" class="var-name">$_query_related</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_validated" title="details" class="var-name">$_validated</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_where_group_started" title="details" class="var-name">$_where_group_started</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																												<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#add_model_path" title="details" class="method-name">add_model_path</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$paths</span>)
									</div>
																								<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#autoload" title="details" class="method-name">autoload</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$class</span>)
									</div>
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#recursive_require_once" title="details" class="method-name">recursive_require_once</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$class</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
									</div>
																																																																																																																																																																																																																																																																																																																<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#_load_extensions" title="details" class="method-name">_load_extensions</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$extensions</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$names</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$extensions</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																																
												<div class="method-definition">
											<span class="method-result">DataMapper</span>
										<a href="#DataMapper" title="details" class="method-name">DataMapper</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">DataMapper</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">NULL</span>])
									</div>
																								<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#add_table_name" title="details" class="method-name">add_table_name</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>)
									</div>
																								<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#check_last_query" title="details" class="method-name">check_last_query</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$delims</span> = <span class="var-default">array('&lt;pre&gt;', '&lt;/pre&gt;')</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$return_as_string</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#clear" title="details" class="method-name">clear</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#count" title="details" class="method-name">count</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$exclude_ids</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$related_id</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#count_distinct" title="details" class="method-name">count_distinct</a>
											([<span class="var-type">array</span>&nbsp;<span class="var-name">$exclude_ids</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">'id'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#delete" title="details" class="method-name">delete</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#delete_all" title="details" class="method-name">delete_all</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#distinct" title="details" class="method-name">distinct</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#error_message" title="details" class="method-name">error_message</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$error</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#exists" title="details" class="method-name">exists</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#flush_cache" title="details" class="method-name">flush_cache</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#force_validation" title="details" class="method-name">force_validation</a>
											([<span class="var-type">object</span>&nbsp;<span class="var-name">$force</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#func" title="details" class="method-name">func</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$function_name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$args,...</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get" title="details" class="method-name">get</a>
											([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">Iterator</span>
										<a href="#getIterator" title="details" class="method-name">getIterator</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get_clone" title="details" class="method-name">get_clone</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$force_db</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get_copy" title="details" class="method-name">get_copy</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$force_db</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get_iterated" title="details" class="method-name">get_iterated</a>
											([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get_paged" title="details" class="method-name">get_paged</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$page</span> = <span class="var-default">1</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$page_size</span> = <span class="var-default">50</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$page_num_by_rows</span> = <span class="var-default">FALSE</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$info_object</span> = <span class="var-default">'paged'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$iterated</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get_paged_iterated" title="details" class="method-name">get_paged_iterated</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$page</span> = <span class="var-default">1</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$page_size</span> = <span class="var-default">50</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$page_num_by_rows</span> = <span class="var-default">FALSE</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$info_object</span> = <span class="var-default">'paged'</span>], <span class="var-type">bool</span>&nbsp;<span class="var-name">$iterated</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">CI_DB_result</span>
										<a href="#get_raw" title="details" class="method-name">get_raw</a>
											([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$handle_related</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_sql" title="details" class="method-name">get_sql</a>
											([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$handle_related</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#get_where" title="details" class="method-name">get_where</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">array()</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#group_by" title="details" class="method-name">group_by</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$by</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#group_end" title="details" class="method-name">group_end</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#group_start" title="details" class="method-name">group_start</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$not</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">'AND '</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#has_many" title="details" class="method-name">has_many</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$parm1</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$parm2</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#has_one" title="details" class="method-name">has_one</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$parm1</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$parm2</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#having" title="details" class="method-name">having</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#ilike" title="details" class="method-name">ilike</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#include_join_fields" title="details" class="method-name">include_join_fields</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$include</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#include_related" title="details" class="method-name">include_related</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$fields</span> = <span class="var-default">NULL</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$append_name</span> = <span class="var-default">TRUE</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$instantiate</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#include_related_count" title="details" class="method-name">include_related_count</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#is_related_to" title="details" class="method-name">is_related_to</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#join_related" title="details" class="method-name">join_related</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$fields</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$append_name</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#like" title="details" class="method-name">like</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#limit" title="details" class="method-name">limit</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">''</span>], <span class="var-type">integer</span>&nbsp;<span class="var-name">$limit</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#load_extension" title="details" class="method-name">load_extension</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">NULL</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$local</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string|bool</span>
										<a href="#localize_by_model" title="details" class="method-name">localize_by_model</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string|bool</span>
										<a href="#localize_label" title="details" class="method-name">localize_label</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">string|bool</span>&nbsp;<span class="var-name">$label</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#not_group_start" title="details" class="method-name">not_group_start</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#not_ilike" title="details" class="method-name">not_ilike</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#not_like" title="details" class="method-name">not_like</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#offset" title="details" class="method-name">offset</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$offset</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#order_by" title="details" class="method-name">order_by</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$orderby</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_group_start" title="details" class="method-name">or_group_start</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_having" title="details" class="method-name">or_having</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_ilike" title="details" class="method-name">or_ilike</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_like" title="details" class="method-name">or_like</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_not_group_start" title="details" class="method-name">or_not_group_start</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_not_ilike" title="details" class="method-name">or_not_ilike</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_not_like" title="details" class="method-name">or_not_like</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_where" title="details" class="method-name">or_where</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_where_between" title="details" class="method-name">or_where_between</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_where_in" title="details" class="method-name">or_where_in</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_where_not_between" title="details" class="method-name">or_where_not_between</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_where_not_in" title="details" class="method-name">or_where_not_in</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#production_cache" title="details" class="method-name">production_cache</a>
											(<span class="var-type">void</span>&nbsp;<span class="var-name">0</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#query" title="details" class="method-name">query</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sql</span>, [<span class="var-type">array|bool</span>&nbsp;<span class="var-name">$binds</span> = <span class="var-default">FALSE</span>])
									</div>
																								<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#refresh_all" title="details" class="method-name">refresh_all</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#reinitialize_model" title="details" class="method-name">reinitialize_model</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">int</span>
										<a href="#result_count" title="details" class="method-name">result_count</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#save" title="details" class="method-name">save</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#save_as_new" title="details" class="method-name">save_as_new</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#select" title="details" class="method-name">select</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">'*'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#select_avg" title="details" class="method-name">select_avg</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#select_max" title="details" class="method-name">select_max</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#select_min" title="details" class="method-name">select_min</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#select_sum" title="details" class="method-name">select_sum</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#set_join_field" title="details" class="method-name">set_join_field</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#skip_validation" title="details" class="method-name">skip_validation</a>
											([<span class="var-type">object</span>&nbsp;<span class="var-name">$skip</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#start_cache" title="details" class="method-name">start_cache</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#stop_cache" title="details" class="method-name">stop_cache</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#trans_begin" title="details" class="method-name">trans_begin</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$test_mode</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#trans_commit" title="details" class="method-name">trans_commit</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#trans_complete" title="details" class="method-name">trans_complete</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#trans_off" title="details" class="method-name">trans_off</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#trans_rollback" title="details" class="method-name">trans_rollback</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#trans_start" title="details" class="method-name">trans_start</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$test_mode</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#trans_status" title="details" class="method-name">trans_status</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#trans_strict" title="details" class="method-name">trans_strict</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#truncate" title="details" class="method-name">truncate</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#update" title="details" class="method-name">update</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">object</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">object</span>&nbsp;<span class="var-name">$escape_values</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#update_all" title="details" class="method-name">update_all</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">object</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">object</span>&nbsp;<span class="var-name">$escape_values</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#validate" title="details" class="method-name">validate</a>
											([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#where" title="details" class="method-name">where</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#where_between" title="details" class="method-name">where_between</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#where_in" title="details" class="method-name">where_in</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#where_not_between" title="details" class="method-name">where_not_between</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#where_not_in" title="details" class="method-name">where_not_in</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_auto_trans_begin" title="details" class="method-name">_auto_trans_begin</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_auto_trans_complete" title="details" class="method-name">_auto_trans_complete</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$label</span> = <span class="var-default">'complete'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#_extension_method_exists" title="details" class="method-name">_extension_method_exists</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">$method</span>, [<span class="var-type">object</span>&nbsp;<span class="var-name">$which</span> = <span class="var-default">'both'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#_get_generated_timestamp" title="details" class="method-name">_get_generated_timestamp</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_initiate_local_extensions" title="details" class="method-name">_initiate_local_extensions</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$common_key</span>)
									</div>
																								<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_process_function_arg" title="details" class="method-name">_process_function_arg</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$arg</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$is_formula</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_relationship" title="details" class="method-name">_relationship</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$definition</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$common" id="$common"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$common</span>
			 = <span class="var-default">array(DMZ_CLASSNAMES_KEY =&gt; array())</span>			(line <span class="line-number">205</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores settings that are common across a specific Model</p>
	
	
		
		

</div>
<a name="var$config" id="$config"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$config</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">200</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores the shared configuration</p>
	
	
		
		

</div>
<a name="var$global_extensions" id="$global_extensions"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$global_extensions</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">210</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores global extensions</p>
	
	
		
		

</div>
<a name="var$model_paths" id="$model_paths"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>
			<span class="var-name">$model_paths</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">347</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_dmz_config_defaults" id="$_dmz_config_defaults"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">array</span>
			<span class="var-name">$_dmz_config_defaults</span>
			 = <span class="var-default">array(<br />		'prefix' =&gt; '',<br />		'join_prefix' =&gt; '',<br />		'error_prefix' =&gt; '&lt;span class=&quot;error&quot;&gt;',<br />		'error_suffix' =&gt; '&lt;/span&gt;',<br />		'created_field' =&gt; 'created',<br />		'updated_field' =&gt; 'updated',<br />		'local_time' =&gt; FALSE,<br />		'unix_timestamp' =&gt; FALSE,<br />		'timestamp_format' =&gt; 'Y-m-d H:i:s',<br />		'lang_file_format' =&gt; 'model_${model}',<br />		'field_label_lang_format' =&gt; '${model}_${field}',<br />		'auto_transaction' =&gt; FALSE,<br />		'auto_populate_has_many' =&gt; FALSE,<br />		'auto_populate_has_one' =&gt; TRUE,<br />		'all_array_uses_ids' =&gt; FALSE,<br />		'db_params' =&gt; '',<br />		'extensions' =&gt; array(),'extensions_path'=&gt;'datamapper',)</span>			(line <span class="line-number">215</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Used to override unset default properties.</p>
	
	
		
		

</div>
<a name="var$all" id="$all"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$all</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">287</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Contains the result of the last query.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$cascade_delete" id="$cascade_delete"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$cascade_delete</span>
			 = <span class="var-default"> TRUE</span>			(line <span class="line-number">276</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">delete relations on delete of an object. Defaults to TRUE.</p>
<p class="description"><p>set to FALSE if you RDBMS takes care of this using constraints</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$default_order_by" id="$default_order_by"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$default_order_by</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number">325</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This can be specified as an array of fields to sort by if no other  sorting or selection has occurred.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../LIST_DM_Models/Comment.html#var$default_order_by">Comment::$default_order_by</a>
							</li>
				</ul>
		

</div>
<a name="var$error" id="$error"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type"><a href="../DMZ/DM_Error_Object.html">DM_Error_Object</a></span>
			<span class="var-name">$error</span>
						(line <span class="line-number">241</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Contains any errors that occur during validation, saving, or other  database access.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$fields" id="$fields"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$fields</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">282</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Contains the database fields for this object.</p>
<p class="description"><p>** Automatically configured **</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$free_result_threshold" id="$free_result_threshold"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$free_result_threshold</span>
			 = <span class="var-default"> 100</span>			(line <span class="line-number">319</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If a query returns more than the number of rows specified here,  then it will be automatically freed after a get.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$has_many" id="$has_many"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$has_many</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">302</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Contains any related objects of which this model is related one or more times.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../LIST_DM_Models/Category.html#var$has_many">Category::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Comment.html#var$has_many">Comment::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Course.html#var$has_many">Course::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Group.html#var$has_many">Group::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Period.html#var$has_many">Period::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Room.html#var$has_many">Room::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Student.html#var$has_many">Student::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Task.html#var$has_many">Task::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Task_set.html#var$has_many">Task_set::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Task_set_type.html#var$has_many">Task_set_type::$has_many</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Teacher.html#var$has_many">Teacher::$has_many</a>
							</li>
				</ul>
		

</div>
<a name="var$has_one" id="$has_one"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$has_one</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">307</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Contains any related objects of which this model is singularly related.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../LIST_DM_Models/Category.html#var$has_one">Category::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Comment.html#var$has_one">Comment::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Course.html#var$has_one">Course::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Group.html#var$has_one">Group::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Participant.html#var$has_one">Participant::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Room.html#var$has_one">Room::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Solution.html#var$has_one">Solution::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Student.html#var$has_one">Student::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Task.html#var$has_one">Task::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Task_set.html#var$has_one">Task_set::$has_one</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Teacher.html#var$has_one">Teacher::$has_one</a>
							</li>
				</ul>
		

</div>
<a name="var$model" id="$model"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$model</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number">259</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The singular name for this model (may be automatically generated from  the classname).</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$parent" id="$parent"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$parent</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">292</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Semi-private field used to track the parent model/id if there is one.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$primary_key" id="$primary_key"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$primary_key</span>
			 = <span class="var-default"> 'id'</span>			(line <span class="line-number">265</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The primary key used for this models table  the classname).</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$production_cache" id="$production_cache"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$production_cache</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">313</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Used to enable or disable the production cache.</p>
<p class="description"><p>This should really only be set in the global configuration.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$stored" id="$stored"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">object</span>
			<span class="var-name">$stored</span>
						(line <span class="line-number">247</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Used to keep track of the original values from the database, to  prevent unecessarily changing fields.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$table" id="$table"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$table</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number">253</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The name of the table for this model (may be automatically generated  from the classname).</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../LIST_DM_Models/Category.html#var$table">Category::$table</a>
							</li>
					<li>
				<a href="../LIST_DM_Models/Security.html#var$table">Security::$table</a>
							</li>
				</ul>
		

</div>
<a name="var$valid" id="$valid"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool</span>
			<span class="var-name">$valid</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">270</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The result of validate is stored here.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$validation" id="$validation"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$validation</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">297</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Contains the validation rules, label, and get_rules for each field.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_field_tracking" id="$_field_tracking"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_field_tracking</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number">334</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_force_save_as_new" id="$_force_save_as_new"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_force_save_as_new</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">340</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_force_validation" id="$_force_validation"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_force_validation</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">330</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_group_count" id="$_group_count"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_group_count</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">344</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_include_join_fields" id="$_include_join_fields"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_include_join_fields</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">338</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_instantiations" id="$_instantiations"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_instantiations</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number">332</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_query_related" id="$_query_related"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_query_related</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">336</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_validated" id="$_validated"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_validated</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">328</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_where_group_started" id="$_where_group_started"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_where_group_started</span>
			 = <span class="var-default"> FALSE</span>			(line <span class="line-number">342</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodadd_model_path" id="add_model_path"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method add_model_path</span> (line <span class="line-number">727</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add Model Path</p>
<p class="description"><p>Manually add paths for the model autoloader</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			add_model_path
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$paths</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$paths</span><span class="var-description">: path or array of paths to search</span>			</li>
				</ul>
		
			
	</div>
<a name="methodautoload" id="autoload"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method autoload</span> (line <span class="line-number">667</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Autoload</p>
<p class="description"><p>Autoloads object classes that are used with DataMapper.  This method will look in any model directories available to CI.</p><p>Note:  It is important that they are autoloaded as loading them manually with  CodeIgniter's loader class will cause DataMapper's __get and __set functions  to not function.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			autoload
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$class</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$class</span><span class="var-description">: Name of class to load.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrecursive_require_once" id="recursive_require_once"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method recursive_require_once</span> (line <span class="line-number">752</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Recursive Require Once</p>
<p class="description"><p>Recursively searches the path for the class, require_once if found.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			recursive_require_once
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$class</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$class</span><span class="var-description">: Name of class to look for</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span><span class="var-description">: Current path to search</span>			</li>
				</ul>
		
			
	</div>
<a name="method_load_extensions" id="_load_extensions"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method _load_extensions</span> (line <span class="line-number">801</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads in any extensions used by this class or globally.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			_load_extensions
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$extensions</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$names</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$extensions</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$extensions</span><span class="var-description">: List of extensions to add to.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$name</span><span class="var-description">: List of new extensions to load.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$extensions</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$names</span>			</li>
				</ul>
		
			
	</div>

<a name="methodDataMapper" id="DataMapper"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor DataMapper</span> (line <span class="line-number">360</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">DataMapper</span>
		<span class="method-name">
			DataMapper
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$id</span>			</li>
				</ul>
		
			
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">355</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructors (both PHP4 and PHP5 style, to stay compatible)</p>
<p class="description"><p>Initialize DataMapper.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">DataMapper</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$id</span><span class="var-description">: if provided, load in the object specified by that ID.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodadd_table_name" id="add_table_name"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">add_table_name</span> (line <span class="line-number">2784</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add Table Name</p>
<p class="description"><p>Adds the table name to a field if necessary</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Possibly modified field name.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			add_table_name
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: Field to add the table name to.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcheck_last_query" id="check_last_query"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">check_last_query</span> (line <span class="line-number">2602</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Check Last Query  Renders the last DB query performed.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Last db query formatted as a string.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			check_last_query
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$delims</span> = <span class="var-default">array('&lt;pre&gt;', '&lt;/pre&gt;')</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$return_as_string</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$delims</span><span class="var-description">: Delimiters for the SQL string.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$return_as_string</span><span class="var-description">: If TRUE, don't output automatically.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclear" id="clear"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">clear</span> (line <span class="line-number">2353</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clear</p>
<p class="description"><p>Clears the current object.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clear
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcount" id="count"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">count</span> (line <span class="line-number">2425</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Count</p>
<p class="description"><p>Returns the total count of the object records from the database.  If on a related object, returns the total count of related objects records.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Number of rows in query.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			count
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$exclude_ids</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$related_id</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$exclude_ids</span><span class="var-description">: A list of ids to exlcude from the count</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$column</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$related_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcount_distinct" id="count_distinct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">count_distinct</span> (line <span class="line-number">2531</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Count Distinct</p>
<p class="description"><p>Returns the total count of distinct object records from the database.  If on a related object, returns the total count of related objects records.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Number of rows in query.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			count_distinct
		</span>
					([<span class="var-type">array</span>&nbsp;<span class="var-name">$exclude_ids</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$column</span> = <span class="var-default">'id'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$exclude_ids</span><span class="var-description">: A list of ids to exlcude from the count</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: If provided, use this column for the DISTINCT instead of 'id'</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddelete" id="delete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">delete</span> (line <span class="line-number">1890</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Delete</p>
<p class="description"><p>Deletes the current record.  If object is supplied, deletes relations between this object and the supplied object(s).</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure of the delete.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			delete
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$object</span><span class="var-description">: If specified, delete the relationship to the object or array of objects.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$related_field</span><span class="var-description">: Can be used to specify which relationship to delete.</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../LIST_DM_Models/Comment.html#methoddelete">Comment::delete()</a>
								: Deletes relations (if parameters are set) or this object from database.
							</li>
					<li>
				<a href="../LIST_DM_Models/Period.html#methoddelete">Period::delete()</a>
								: Delete this period or related object.
							</li>
					<li>
				<a href="../LIST_DM_Models/Solution.html#methoddelete">Solution::delete()</a>
								: Delete this object from database or specified relations.
							</li>
					<li>
				<a href="../LIST_DM_Models/Student.html#methoddelete">Student::delete()</a>
								: Delete this student or related object.
							</li>
					<li>
				<a href="../LIST_DM_Models/Task.html#methoddelete">Task::delete()</a>
								: Deletes relations (if parameters are set) or this object from database.
							</li>
					<li>
				<a href="../LIST_DM_Models/Task_set.html#methoddelete">Task_set::delete()</a>
								: Deletes relations (if parameters are set) or this object from database.
							</li>
				</ul>
	</div>
<a name="methoddelete_all" id="delete_all"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">delete_all</span> (line <span class="line-number">2040</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Delete All</p>
<p class="description"><p>Deletes all records in this objects all list.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure of the delete</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			delete_all
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddistinct" id="distinct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">distinct</span> (line <span class="line-number">3275</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Distinct</p>
<p class="description"><p>Sets the flag to add DISTINCT to the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			distinct
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$value</span><span class="var-description">: Set to FALSE to turn back off DISTINCT</span>			</li>
				</ul>
		
			
	</div>
<a name="methoderror_message" id="error_message"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">error_message</span> (line <span class="line-number">2623</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Error Message</p>
<p class="description"><p>Adds an error message to this objects error object.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			error_message
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$error</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: Field to set the error on.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$error</span><span class="var-description">: Error message.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodexists" id="exists"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">exists</span> (line <span class="line-number">2561</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Exists</p>
<p class="description"><p>Returns TRUE if the current object has a database record.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			exists
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodflush_cache" id="flush_cache"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">flush_cache</span> (line <span class="line-number">4076</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Flush Cache</p>
<p class="description"><p>Empties the AR cache.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			flush_cache
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodforce_validation" id="force_validation"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">force_validation</span> (line <span class="line-number">2340</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Force revalidation for the next call to save.</p>
<p class="description"><p>This allows you to run validation rules on fields that haven't been modified</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			force_validation
		</span>
					([<span class="var-type">object</span>&nbsp;<span class="var-name">$force</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$force</span><span class="var-description">: If TRUE, forces validation on all fields.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfunc" id="func"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">func</span> (line <span class="line-number">2831</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates a SQL-function with the given (optional) arguments.</p>
<p class="description"><p>Each argument can be one of several forms:  1) An un escaped string value, which will be automatically escaped: &quot;hello&quot;  2) An escaped value or non-string, which is copied directly: &quot;'hello'&quot; 123, etc  3) An operator, *, or a non-escaped string is copied directly: &quot;[non-escaped]&quot; &quot;&gt;&quot;, etc  4) A field on this model: &quot;@property&quot;  (Also, &quot;@&lt;whatever&gt;&quot; will be copied directly  5) A field on a related or deeply related model: &quot;@model/property&quot; &quot;@model/other_model/property&quot;  6) An array, which is processed recursively as a forumla.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The new SQL function string.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			func
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$function_name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$args,...</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$function_name</span><span class="var-description">: Function name.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$args,...</span><span class="var-description">: (Optional) Any commands that need to be passed to the function.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget" id="get"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get</span> (line <span class="line-number">1286</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get</p>
<p class="description"><p>Get objects from the database.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get
		</span>
					([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$limit</span><span class="var-description">: Limit the number of results.</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetIterator" id="getIterator"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getIterator</span> (line <span class="line-number">1254</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Allows the all array to be iterated over without  having to specify it.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An iterator for the all array</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Iterator</span>
		<span class="method-name">
			getIterator
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>IteratorAggregate::getIterator</dt>
					</dl>
			
	</div>
<a name="methodget_clone" id="get_clone"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_clone</span> (line <span class="line-number">2647</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get Clone</p>
<p class="description"><p>Returns a clone of the current object.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Cloned copy of this object.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get_clone
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$force_db</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$force_db</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_copy" id="get_copy"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_copy</span> (line <span class="line-number">2671</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get Copy</p>
<p class="description"><p>Returns an unsaved copy of the current object.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Cloned copy of this object with an empty ID for saving as new.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get_copy
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$force_db</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$force_db</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_iterated" id="get_iterated"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_iterated</span> (line <span class="line-number">1413</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a streamable result set for large queries.</p>
<p class="description"><p>Usage:  $rs = $object-&gt;get_iterated();  $size = $rs-&gt;count;  foreach($rs as $o) { 	 // handle $o  }  $rs can be looped through more than once.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get_iterated
		</span>
					([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$limit</span><span class="var-description">: Limit the number of results.</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_paged" id="get_paged"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_paged</span> (line <span class="line-number">1442</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convenience method that runs a query based on pages.</p>
<p class="description"><p>This object will have two new values, $query_total_pages and  $query_total_rows, which can be used to determine how many pages and  how many rows are available in total, respectively.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get_paged
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$page</span> = <span class="var-default">1</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$page_size</span> = <span class="var-default">50</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$page_num_by_rows</span> = <span class="var-default">FALSE</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$info_object</span> = <span class="var-default">'paged'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$iterated</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$page</span><span class="var-description">: Page (1-based) to start on, or row (0-based) to start on</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$page_size</span><span class="var-description">: Number of rows in a page</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$page_num_by_rows</span><span class="var-description">: When TRUE, $page is the starting row, not the starting page</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$iterated</span><span class="var-description">: Internal Use Only</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$info_object</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_paged_iterated" id="get_paged_iterated"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_paged_iterated</span> (line <span class="line-number">1514</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Runs get_paged, but as an Iterable.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">see:</span> <a href="../DataMapper/DataMapper.html#methodget_paged">DataMapper::get_paged()</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get_paged_iterated
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$page</span> = <span class="var-default">1</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$page_size</span> = <span class="var-default">50</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$page_num_by_rows</span> = <span class="var-default">FALSE</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$info_object</span> = <span class="var-default">'paged'</span>], <span class="var-type">bool</span>&nbsp;<span class="var-name">$iterated</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$page</span><span class="var-description">: Page (1-based) to start on, or row (0-based) to start on</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$page_size</span><span class="var-description">: Number of rows in a page</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$page_num_by_rows</span><span class="var-description">: When TRUE, $page is the starting row, not the starting page</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$iterated</span><span class="var-description">: Internal Use Only</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$info_object</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_raw" id="get_raw"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_raw</span> (line <span class="line-number">1384</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Runs the query, but returns the raw CodeIgniter results  NOTE: This also _clears_ the current query info.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Result Object</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">CI_DB_result</span>
		<span class="method-name">
			get_raw
		</span>
					([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$handle_related</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$limit</span><span class="var-description">: Limit the number of results.</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$handle_related</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_sql" id="get_sql"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_sql</span> (line <span class="line-number">1353</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the SQL string of the current query (SELECTs ONLY).</p>
<p class="description"><p>NOTE: This also _clears_ the current query info.</p><p>This can be used to generate subqueries.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> SQL as a string.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_sql
		</span>
					([<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$handle_related</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$limit</span><span class="var-description">: Limit the number of results.</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$handle_related</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_where" id="get_where"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_where</span> (line <span class="line-number">3295</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get Where</p>
<p class="description"><p>Get items matching the where clause.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			get_where
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$where</span> = <span class="var-default">array()</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$limit</span> = <span class="var-default">NULL</span>], [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$where</span><span class="var-description">: See where()</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$limit</span><span class="var-description">: Limit the number of results.</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgroup_by" id="group_by"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">group_by</span> (line <span class="line-number">3885</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Group By</p>
<p class="description"><p>Sets the GROUP BY portion of the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			group_by
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$by</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$by</span><span class="var-description">: Field to group by</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgroup_end" id="group_end"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">group_end</span> (line <span class="line-number">3369</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Ends a query group.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			group_end
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgroup_start" id="group_start"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">group_start</span> (line <span class="line-number">3311</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Starts a query group.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			group_start
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$not</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">'AND '</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$not</span><span class="var-description">: (Internal use only)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span><span class="var-description">: (Internal use only)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhas_many" id="has_many"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">has_many</span> (line <span class="line-number">6024</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Allows you to define has_many relations at runtime</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			has_many
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$parm1</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$parm2</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$parm1</span><span class="var-description">: name of the model to make a relation with</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$parm2</span><span class="var-description">: optional, array with advanced relationship definitions</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhas_one" id="has_one"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">has_one</span> (line <span class="line-number">6000</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Allows you to define has_one relations at runtime</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			has_one
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$parm1</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$parm2</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$parm1</span><span class="var-description">: name of the model to make a relation with</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$parm2</span><span class="var-description">: optional, array with advanced relationship definitions</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhaving" id="having"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">having</span> (line <span class="line-number">3906</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Having</p>
<p class="description"><p>Sets the HAVING portion of the query.  Separates multiple calls with AND.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			having
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: Field to compare.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: value to compare to.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$escape</span><span class="var-description">: If FALSE, don't escape the value.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodilike" id="ilike"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">ilike</span> (line <span class="line-number">3750</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">ILike</p>
<p class="description"><p>Sets the case-insensitive %LIKE% portion of the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			ilike
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinclude_join_fields" id="include_join_fields"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">include_join_fields</span> (line <span class="line-number">5366</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Include Join Fields</p>
<p class="description"><p>If TRUE, the any extra fields on the join table will be included</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			include_join_fields
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$include</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$include</span><span class="var-description">: If FALSE, turns back off the directive.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinclude_related" id="include_related"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">include_related</span> (line <span class="line-number">4751</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Include Related</p>
<p class="description"><p>Joins specified values of a has_one object into the current query  If $fields is NULL or '*', then all columns are joined (may require instantiation of the other object)  If $fields is a single string, then just that column is joined.  Otherwise, $fields should be an array of column names.</p><p>$append_name can be used to override the default name to append, or set it to FALSE to prevent appending.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			include_related
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$fields</span> = <span class="var-default">NULL</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$append_name</span> = <span class="var-default">TRUE</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$instantiate</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$related_field</span><span class="var-description">: The related object or field name</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$fields</span><span class="var-description">: The fields to join (NULL or '*' means all fields, or use a single field or array of fields)</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$append_name</span><span class="var-description">: The name to use for joining (with '_'), or FALSE to disable.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$instantiate</span><span class="var-description">: If TRUE, the results are instantiated into objects</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinclude_related_count" id="include_related_count"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">include_related_count</span> (line <span class="line-number">4864</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Includes the number of related items using a subquery.</p>
<p class="description"><p>Default alias is {$related_field}_count</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			include_related_count
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$related_field</span><span class="var-description">: Field to count</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: Alternative alias.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodis_related_to" id="is_related_to"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">is_related_to</span> (line <span class="line-number">4723</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Is Related To  If this object is related to the provided object, returns TRUE.</p>
<p class="description"><p>Otherwise returns FALSE.  Optionally can be provided a related field and ID.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE or FALSE if this object is related to $related_field</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			is_related_to
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$related_field</span><span class="var-description">: The related object or field name</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$id</span><span class="var-description">: ID to compare to if $related_field is a string</span>			</li>
				</ul>
		
			
	</div>
<a name="methodjoin_related" id="join_related"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">join_related</span> (line <span class="line-number">4848</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Legacy version of include_related</p>
<p class="description"><p>DEPRECATED: Will be removed by 2.0</p></p>
	<ul class="tags">
				<li><span class="field">deprecated:</span> Please use include_related</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			join_related
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$related_field</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$fields</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$append_name</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$related_field</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$fields</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$append_name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlike" id="like"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">like</span> (line <span class="line-number">3679</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Like</p>
<p class="description"><p>Sets the %LIKE% portion of the query.  Separates multiple calls with AND.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			like
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlimit" id="limit"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">limit</span> (line <span class="line-number">4019</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Limit</p>
<p class="description"><p>Sets the LIMIT portion of the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			limit
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">integer|NULL</span>&nbsp;<span class="var-name">$offset</span> = <span class="var-default">''</span>], <span class="var-type">integer</span>&nbsp;<span class="var-name">$limit</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$limit</span><span class="var-description">: Limit the number of results.</span>			</li>
					<li>
				<span class="var-type">integer|NULL</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodload_extension" id="load_extension"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">load_extension</span> (line <span class="line-number">937</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Dynamically load an extension when needed.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			load_extension
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$options</span> = <span class="var-default">NULL</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$local</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$name</span><span class="var-description">: Name of the extension (or array of extensions).</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$options</span><span class="var-description">: Options for the extension</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$local</span><span class="var-description">: If TRUE, only loads the extension into this object</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlocalize_by_model" id="localize_by_model"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">localize_by_model</span> (line <span class="line-number">5950</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A specialized language lookup function that will automatically  insert the model, table, and (optional) field into a key, and return the  language result for the replaced key.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string|bool</span>
		<span class="method-name">
			localize_by_model
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: Basic key to use</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: Optional field value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlocalize_label" id="localize_label"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">localize_label</span> (line <span class="line-number">5971</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Variant that handles looking up a field labels</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string|bool</span>
		<span class="method-name">
			localize_label
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">string|bool</span>&nbsp;<span class="var-name">$label</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$field</span><span class="var-description">: Name of field</span>			</li>
					<li>
				<span class="var-type">string|bool</span>
				<span class="var-name">$label</span><span class="var-description">: If not FALSE overrides default label.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodnot_group_start" id="not_group_start"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">not_group_start</span> (line <span class="line-number">3347</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Starts a query group, but NOTs the group</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			not_group_start
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodnot_ilike" id="not_ilike"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">not_ilike</span> (line <span class="line-number">3768</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Not ILike</p>
<p class="description"><p>Sets the case-insensitive NOT LIKE portion of the query.  Separates multiple calls with AND.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			not_ilike
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodnot_like" id="not_like"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">not_like</span> (line <span class="line-number">3697</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Not Like</p>
<p class="description"><p>Sets the NOT LIKE portion of the query.  Separates multiple calls with AND.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			not_like
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodoffset" id="offset"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">offset</span> (line <span class="line-number">4037</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Offset</p>
<p class="description"><p>Sets the OFFSET portion of the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			offset
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$offset</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$offset</span><span class="var-description">: Offset the results when limiting.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorder_by" id="order_by"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">order_by</span> (line <span class="line-number">3963</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Order By</p>
<p class="description"><p>Sets the ORDER BY portion of the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			order_by
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$orderby</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$orderby</span><span class="var-description">: Field to order by</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: One of 'ASC' or 'DESC'  Defaults to 'ASC'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_group_start" id="or_group_start"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_group_start</span> (line <span class="line-number">3336</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Starts a query group, but ORs the group</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_group_start
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodor_having" id="or_having"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_having</span> (line <span class="line-number">3924</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Having</p>
<p class="description"><p>Sets the OR HAVING portion of the query.  Separates multiple calls with OR.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_having
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">''</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: Field to compare.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: value to compare to.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$escape</span><span class="var-description">: If FALSE, don't escape the value.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_ilike" id="or_ilike"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_ilike</span> (line <span class="line-number">3786</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Like</p>
<p class="description"><p>Sets the case-insensitive %LIKE% portion of the query.  Separates multiple calls with OR.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_ilike
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_like" id="or_like"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_like</span> (line <span class="line-number">3715</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Like</p>
<p class="description"><p>Sets the %LIKE% portion of the query.  Separates multiple calls with OR.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_like
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_not_group_start" id="or_not_group_start"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_not_group_start</span> (line <span class="line-number">3358</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Starts a query group, but OR NOTs the group</p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_not_group_start
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodor_not_ilike" id="or_not_ilike"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_not_ilike</span> (line <span class="line-number">3804</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Not Like</p>
<p class="description"><p>Sets the case-insensitive NOT LIKE portion of the query.  Separates multiple calls with OR.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_not_ilike
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_not_like" id="or_not_like"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_not_like</span> (line <span class="line-number">3733</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Not Like</p>
<p class="description"><p>Sets the NOT LIKE portion of the query.  Separates multiple calls with OR.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_not_like
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$match</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$side</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$match</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$side</span><span class="var-description">: One of 'both', 'before', or 'after'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_where" id="or_where"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_where</span> (line <span class="line-number">3433</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Where</p>
<p class="description"><p>Sets the WHERE portion of the query.  Separates multiple calls with OR.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_where
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$key</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$escape</span><span class="var-description">: If FALSE, the field is not escaped.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_where_between" id="or_where_between"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_where_between</span> (line <span class="line-number">3517</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where Between</p>
<p class="description"><p>Sets the WHERE field BETWEEN 'value1' AND 'value2' SQL query joined with  AND if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_where_between
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: value to end with</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value2</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_where_in" id="or_where_in"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_where_in</span> (line <span class="line-number">3569</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Where In</p>
<p class="description"><p>Sets the WHERE field IN ('item', 'item') SQL query joined with  OR if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_where_in
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$values</span><span class="var-description">: An array of values to compare against</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_where_not_between" id="or_where_not_between"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_where_not_between</span> (line <span class="line-number">3535</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where Between</p>
<p class="description"><p>Sets the WHERE field BETWEEN 'value1' AND 'value2' SQL query joined with  AND if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_where_not_between
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: value to end with</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value2</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_where_not_in" id="or_where_not_in"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_where_not_in</span> (line <span class="line-number">3603</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Or Where Not In</p>
<p class="description"><p>Sets the WHERE field NOT IN ('item', 'item') SQL query joined wuth  OR if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_where_not_in
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$values</span><span class="var-description">: An array of values to compare against</span>			</li>
				</ul>
		
			
	</div>
<a name="methodproduction_cache" id="production_cache"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">production_cache</span> (line <span class="line-number">6047</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates or updates the production schema cache file for this model</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			production_cache
		</span>
					(<span class="var-type">void</span>&nbsp;<span class="var-name">0</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">void</span>
				<span class="var-name">0</span>			</li>
				</ul>
		
			
	</div>
<a name="methodquery" id="query"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">query</span> (line <span class="line-number">2581</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Query</p>
<p class="description"><p>Runs the specified query and populates the current object with the results.</p><p>Warning: Use at your own risk.  This will only be as reliable as your query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			query
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sql</span>, [<span class="var-type">array|bool</span>&nbsp;<span class="var-name">$binds</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sql</span><span class="var-description">: The query to process</span>			</li>
					<li>
				<span class="var-type">array|bool</span>
				<span class="var-name">$binds</span><span class="var-description">: Array of values to bind (see CodeIgniter)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrefresh_all" id="refresh_all"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">refresh_all</span> (line <span class="line-number">2133</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Refresh All</p>
<p class="description"><p>Removes any empty objects in this objects all list.  Only needs to be used if you are looping through the all list  a second time and you have deleted a record the first time through.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> FALSE if the $all array was already empty.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			refresh_all
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodreinitialize_model" id="reinitialize_model"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">reinitialize_model</span> (line <span class="line-number">633</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Reloads in the configuration data for a model.  This is mainly  used to handle language changes.  Only this instance and new instances  will see the changes.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			reinitialize_model
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodresult_count" id="result_count"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">result_count</span> (line <span class="line-number">2544</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convenience method to return the number of items from  the last call to get.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">int</span>
		<span class="method-name">
			result_count
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">save</span> (line <span class="line-number">1546</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Save</p>
<p class="description"><p>Saves the current record, if it validates.  If object is supplied, saves relations between this object and the supplied object(s).</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure of the validation and save.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			save
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$object</span><span class="var-description">: Optional object to save or array of objects to save.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$related_field</span><span class="var-description">: Optional string to save the object as a specific relationship.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsave_as_new" id="save_as_new"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">save_as_new</span> (line <span class="line-number">1528</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Forces this object to be INSERTed, even if it has an ID.</p>
	<ul class="tags">
				<li><span class="field">return:</span> Result of the save.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			save_as_new
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$object</span><span class="var-description">: See save.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$related_field</span><span class="var-description">: See save.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselect" id="select"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">select</span> (line <span class="line-number">3150</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Select</p>
<p class="description"><p>Sets the SELECT portion of the query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			select
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">'*'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$select</span><span class="var-description">: Field(s) to select, array or comma separated string</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$escape</span><span class="var-description">: If FALSE, don't escape this field (Probably won't work)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselect_avg" id="select_avg"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">select_avg</span> (line <span class="line-number">3228</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Select Avg</p>
<p class="description"><p>Sets the SELECT AVG(field) portion of a query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			select_avg
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$select</span><span class="var-description">: Field to look at.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: Alias of the AVG value.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselect_max" id="select_max"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">select_max</span> (line <span class="line-number">3180</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Select Max</p>
<p class="description"><p>Sets the SELECT MAX(field) portion of a query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			select_max
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$select</span><span class="var-description">: Field to look at.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: Alias of the MAX value.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselect_min" id="select_min"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">select_min</span> (line <span class="line-number">3204</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Select Min</p>
<p class="description"><p>Sets the SELECT MIN(field) portion of a query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			select_min
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$select</span><span class="var-description">: Field to look at.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: Alias of the MIN value.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodselect_sum" id="select_sum"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">select_sum</span> (line <span class="line-number">3252</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Select Sum</p>
<p class="description"><p>Sets the SELECT SUM(field) portion of a query.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			select_sum
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$select</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$select</span><span class="var-description">: Field to look at.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: Alias of the SUM value.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_join_field" id="set_join_field"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_join_field</span> (line <span class="line-number">5387</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set Join Field</p>
<p class="description"><p>Sets the value on a join table based on the related field  If $related_field is an array, then the array should be  in the form $related_field =&gt; $object or array($object)</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			set_join_field
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$related_field</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$related_field</span><span class="var-description">: An object or array.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$field</span><span class="var-description">: Field or array of fields to set.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: Value for a single field to set.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$object</span><span class="var-description">: Private for recursion, do not use.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodskip_validation" id="skip_validation"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">skip_validation</span> (line <span class="line-number">2324</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Skips validation for the next call to save.</p>
<p class="description"><p>Note that this also prevents the validation routine from running until the next get.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			skip_validation
		</span>
					([<span class="var-type">object</span>&nbsp;<span class="var-name">$skip</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$skip</span><span class="var-description">: If FALSE, re-enables validation.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstart_cache" id="start_cache"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">start_cache</span> (line <span class="line-number">4052</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Start Cache</p>
<p class="description"><p>Starts AR caching.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			start_cache
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodstop_cache" id="stop_cache"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">stop_cache</span> (line <span class="line-number">4064</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stop Cache</p>
<p class="description"><p>Stops AR caching.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			stop_cache
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtrans_begin" id="trans_begin"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">trans_begin</span> (line <span class="line-number">4161</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Begin</p>
<p class="description"><p>Begin a transaction.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			trans_begin
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$test_mode</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$test_mode</span><span class="var-description">: Set to TRUE to only run a test (and not commit)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtrans_commit" id="trans_commit"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">trans_commit</span> (line <span class="line-number">4189</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Commit</p>
<p class="description"><p>Commit a transaction.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			trans_commit
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtrans_complete" id="trans_complete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">trans_complete</span> (line <span class="line-number">4146</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Complete</p>
<p class="description"><p>Complete a transaction.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			trans_complete
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtrans_off" id="trans_off"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">trans_off</span> (line <span class="line-number">4101</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Off</p>
<p class="description"><p>This permits transactions to be disabled at run-time.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			trans_off
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtrans_rollback" id="trans_rollback"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">trans_rollback</span> (line <span class="line-number">4203</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Rollback</p>
<p class="description"><p>Rollback a transaction.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			trans_rollback
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtrans_start" id="trans_start"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">trans_start</span> (line <span class="line-number">4132</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Start</p>
<p class="description"><p>Start a transaction.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			trans_start
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$test_mode</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$test_mode</span><span class="var-description">: Set to TRUE to only run a test (and not commit)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtrans_status" id="trans_status"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">trans_status</span> (line <span class="line-number">4175</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Status</p>
<p class="description"><p>Lets you retrieve the transaction flag to determine if it has failed.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns FALSE if the transaction has failed.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			trans_status
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtrans_strict" id="trans_strict"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">trans_strict</span> (line <span class="line-number">4118</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Trans Strict</p>
<p class="description"><p>When strict mode is enabled, if you are running multiple groups of  transactions, if one group fails all groups will be rolled back.  If strict mode is disabled, each group is treated autonomously, meaning  a failure of one group will not affect any others.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			trans_strict
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$mode</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$mode</span><span class="var-description">: Set to false to disable strict mode.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtruncate" id="truncate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">truncate</span> (line <span class="line-number">2064</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Truncate</p>
<p class="description"><p>Deletes all records in this objects table.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Success or Failure of the truncate</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			truncate
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodupdate" id="update"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">update</span> (line <span class="line-number">1796</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Update</p>
<p class="description"><p>Allows updating of more than one row at once.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE or FALSE on success or failure</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			update
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">object</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">object</span>&nbsp;<span class="var-name">$escape_values</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$field</span><span class="var-description">: A field to update, or an array of fields =&gt; values</span>			</li>
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$value</span><span class="var-description">: The new value</span>			</li>
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$escape_values</span><span class="var-description">: If false, don't escape the values</span>			</li>
				</ul>
		
			
	</div>
<a name="methodupdate_all" id="update_all"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">update_all</span> (line <span class="line-number">1847</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Update All</p>
<p class="description"><p>Updates all items that are in the all array.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE or FALSE on success or failure</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			update_all
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$field</span>, [<span class="var-type">object</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">object</span>&nbsp;<span class="var-name">$escape_values</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$field</span><span class="var-description">: A field to update, or an array of fields =&gt; values</span>			</li>
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$value</span><span class="var-description">: The new value</span>			</li>
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$escape_values</span><span class="var-description">: If false, don't escape the values</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidate" id="validate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">validate</span> (line <span class="line-number">2166</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validate</p>
<p class="description"><p>Validates the value of each property against the assigned validation rules.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns $this for method chanining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			validate
		</span>
					([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span> = <span class="var-default">''</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$related_field</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$object</span><span class="var-description">: Objects included with the validation [from save()].</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$related_field</span><span class="var-description">: See save.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwhere" id="where"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">where</span> (line <span class="line-number">3415</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where</p>
<p class="description"><p>Sets the WHERE portion of the query.  Separates multiple calls with AND.</p><p>Called by get_where()</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			where
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$key</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">NULL</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$escape</span> = <span class="var-default">TRUE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$key</span><span class="var-description">: A field or array of fields to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: For a single field, the value to compare to.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$escape</span><span class="var-description">: If FALSE, the field is not escaped.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwhere_between" id="where_between"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">where_between</span> (line <span class="line-number">3481</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where Between</p>
<p class="description"><p>Sets the WHERE field BETWEEN 'value1' AND 'value2' SQL query joined with  AND if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			where_between
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: value to end with</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value2</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwhere_in" id="where_in"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">where_in</span> (line <span class="line-number">3552</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where In</p>
<p class="description"><p>Sets the WHERE field IN ('item', 'item') SQL query joined with  AND if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			where_in
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$values</span><span class="var-description">: An array of values to compare against</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwhere_not_between" id="where_not_between"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">where_not_between</span> (line <span class="line-number">3499</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where Between</p>
<p class="description"><p>Sets the WHERE field BETWEEN 'value1' AND 'value2' SQL query joined with  AND if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			where_not_between
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value1</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$value2</span> = <span class="var-default">NULL</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: value to end with</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value1</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value2</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwhere_not_in" id="where_not_in"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">where_not_in</span> (line <span class="line-number">3586</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Where Not In</p>
<p class="description"><p>Sets the WHERE field NOT IN ('item', 'item') SQL query joined with  AND if appropriate.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> Returns self for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			where_not_in
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$key</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$key</span><span class="var-description">: A field to check.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$values</span><span class="var-description">: An array of values to compare against</span>			</li>
				</ul>
		
			
	</div>
<a name="method_auto_trans_begin" id="_auto_trans_begin"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_auto_trans_begin</span> (line <span class="line-number">4216</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Auto Trans Begin</p>
<p class="description"><p>Begin an auto transaction if enabled.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_auto_trans_begin
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_auto_trans_complete" id="_auto_trans_complete"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_auto_trans_complete</span> (line <span class="line-number">4234</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Auto Trans Complete</p>
<p class="description"><p>Complete an auto transaction if enabled.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_auto_trans_complete
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$label</span> = <span class="var-default">'complete'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$label</span><span class="var-description">: Name for this transaction.</span>			</li>
				</ul>
		
			
	</div>
<a name="method_extension_method_exists" id="_extension_method_exists"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_extension_method_exists</span> (line <span class="line-number">1200</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns TRUE or FALSE if the method exists in the extensions.</p>
	<ul class="tags">
				<li><span class="field">return:</span> TRUE if the method can be called.</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			_extension_method_exists
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$method</span>, [<span class="var-type">object</span>&nbsp;<span class="var-name">$which</span> = <span class="var-default">'both'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$method</span><span class="var-description">: Method to look for.</span>			</li>
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$which</span><span class="var-description">: One of 'both', 'local', or 'global'</span>			</li>
				</ul>
		
			
	</div>
<a name="method_get_generated_timestamp" id="_get_generated_timestamp"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_get_generated_timestamp</span> (line <span class="line-number">1869</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets a timestamp to use when saving.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			_get_generated_timestamp
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_initiate_local_extensions" id="_initiate_local_extensions"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_initiate_local_extensions</span> (line <span class="line-number">912</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads the extensions that are local to this model.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_initiate_local_extensions
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$common_key</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$common_key</span><span class="var-description">: Shared key to save extenions to.</span>			</li>
				</ul>
		
			
	</div>
<a name="method_process_function_arg" id="_process_function_arg"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_process_function_arg</span> (line <span class="line-number">2851</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_process_function_arg
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$arg</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$is_formula</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$arg</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$is_formula</span>			</li>
				</ul>
		
			
	</div>
<a name="method_relationship" id="_relationship"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_relationship</span> (line <span class="line-number">6086</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Define a new relationship for the current model</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_relationship
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">''</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$definition</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$type</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$definition</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">__toString</span> (line <span class="line-number">1241</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">To String</p>
<p class="description"><p>Converts the current object into a string.  Should be overridden by extended objects.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 13 Sep 2013 12:32:34 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>